1929e29c5ef431766e82ece8402d87f82cd312c3,src/main/java/com/builtbroken/icbm/content/crafting/station/warhead/GuiWarheadStation.java,GuiWarheadStation,initGui,#,61

Before Change


        super.initGui();
        craftingWindowButton = addButton(GuiImageButton.newRefreshButton(1, guiLeft - 18, guiTop + 5));
        explosiveWindowButton = addButton(GuiImageButton.newRefreshButton(2, guiLeft - 18, guiTop + 5 + 19));
        triggerWindowButton = addButton(GuiImageButton.newRefreshButton(3, guiLeft - 18, guiTop + 5 + 19 * 2));
        otherWindowButton = addButton(GuiImageButton.newRefreshButton(4, guiLeft - 18, guiTop + 5 + 19 * 3));

        //Disable buttons that go to this GUI instead of a new GUI

After Change


        super.initGui();
        craftingWindowButton = addButton(GuiImageButton.newButton18(1, guiLeft - 18, guiTop + 5, 0, 0).setTexture(Assets.GUI_BUTTONS));
        explosiveWindowButton = addButton(GuiImageButton.newButton18(2, guiLeft - 18, guiTop + 5 + 19, 1, 0).setTexture(Assets.GUI_BUTTONS));
        triggerWindowButton = addButton(GuiImageButton.newButton18(3, guiLeft - 18, guiTop + 5 + 19 * 2, 3, 0).setTexture(Assets.GUI_BUTTONS));
        autocraftingButton = addButton(GuiImageButton.newButton18(4, guiLeft - 18, guiTop + 5 + 19 * 3, 2, 0).setTexture(Assets.GUI_BUTTONS));

        //Disable buttons that go to this GUI instead of a new GUI